package com.aaa.demo05;

/**
 * @author ${崔灿}
 * @date 2022/11/01 15:44
 **/

public class TestPriority {
    public static void main(String[] args) {

    }
}
class PriorityDemo extends Thread{
    PriorityDemo(String name){
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i <20; i++){
            System.out.println(Thread.currentThread().getName()+ "****"+i);
        }
    }
}
